<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
	<head>

		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />

		<link href="<%=path%>/admin/css/style.css" rel="stylesheet"
			type="text/css" />
		<script language="JavaScript" src="<%=path%>/js/jquery.js">
		</script>

		<script type="text/javascript">
$(function() {
	//导航切换
	$(".menuson li").click(function() {
		$(".menuson li.active").removeClass("active")
		$(this).addClass("active");
	});

	$('.title').click(function() {
		var $ul = $(this).next('ul');
		$('dd').find('ul').slideUp();
		if ($ul.is(':visible')) {
			$(this).next('ul').slideUp();
		} else {
			$(this).next('ul').slideDown();
		}
	});
})
</script>


	</head>

	<body style="background: #f0f9fd;">
		<div class="lefttop">
			<span></span>
		<a target="_parent" href="<%=path%>/login.jsp">学生考试成绩管理系统首页</a>	
		</div>

		<dl class="leftmenu">
           <c:if test="${sessionScope.userType==0}">
			<dd>
				<div class="title">
					<span><img src="images/leftico01.png" /> </span>基本信息管理
				</div>
				<ul class="menuson">
				
				 
				    <li>
						<cite></cite><a href="<%=path %>/adminManage.action"
							target="rightFrame">管理员管理</a><i></i>
					</li>
				 
					 <li>
						<cite></cite><a href="<%=path %>/admin/userinfo/userPw.jsp"
							target="rightFrame">修改密码</a><i></i>
					</li>
 
				 
				</ul>
			</dd>


			  <c:if test="${sessionScope.userType==0}">
		   <dd>
				<div class="title">
					<span><img src="images/leftico03.png" /> </span>院系专业管理
				</div>
				<ul class="menuson">
					<li>
						<cite></cite><a href="<%=path %>/jigouList.action?fid=0"
							target="rightFrame">院系专业管理</a><i></i>
					</li>
					
				</ul>
			</dd>
			
			 <dd>
				<div class="title">
					<span><img src="images/leftico03.png" /> </span>班级管理
				</div>
				<ul class="menuson">
					<li>
						<cite></cite><a href="<%=path %>/banjiList.action?fid=0"
							target="rightFrame">班级管理</a><i></i>
					</li>
					
				</ul>
			</dd>
			
		 </c:if>
			
			
			 <dd>
				<div class="title">
					<span><img src="images/leftico03.png" /> </span>老师信息管理
				</div>
				<ul class="menuson">
					<li>
						<cite></cite><a href="<%=path %>/teacherList.action"
							target="rightFrame">老师信息管理</a><i></i>
					</li>
					
				</ul>
			</dd>
			
			
			<dd>
				<div class="title">
					<span><img src="images/leftico03.png" /> </span>学生信息管理
				</div>
				<ul class="menuson">
				   
					<li>
						<cite></cite><a href="<%=path %>/studentList.action"
							target="rightFrame">学生信息管理</a><i></i>
					</li>
					 
					 
				</ul>
			</dd>
			
			
		    <dd>
				<div class="title">
					<span><img src="images/leftico03.png" /> </span>课程信息管理
				</div>
				<ul class="menuson">
				   
					<li>
						<cite></cite><a href="<%=path %>/courseList.action"
							target="rightFrame">课程信息管理</a><i></i>
					</li>
					 
					 
				</ul>
			</dd>
			
			
			
			 
			
			</c:if>
			
			
			 <c:if test="${sessionScope.userType==2}">
			<dd>
				<div class="title">
					<span><img src="images/leftico01.png" /> </span>基本信息管理
				</div>
				<ul class="menuson">
					<li>
						<cite></cite><a href="<%=path %>/admin/student/student_info.jsp"
							target="rightFrame">个人资料</a><i></i>
					</li>
				 
					 <li>
						<cite></cite><a href="<%=path %>/admin/student/userPw.jsp"
							target="rightFrame">修改密码</a><i></i>
					</li>
 
				 
				</ul>
			</dd>
			</c:if>
			
			
			
			<c:if test="${sessionScope.userType==1}">
			<dd>
				<div class="title">
					<span><img src="images/leftico01.png" /> </span>基本信息管理
				</div>
				<ul class="menuson">
				
				 
					 <li>
						<cite></cite><a href="<%=path %>/admin/teacher/teacher_info.jsp"
							target="rightFrame">个人资料</a><i></i>
					</li>
					 <li>
						<cite></cite><a href="<%=path %>/admin/teacher/userPw.jsp"
							target="rightFrame">修改密码</a><i></i>
					</li>
 
				 
				</ul>
			</dd>
			<dd>
				<div class="title">
					<span><img src="images/leftico03.png" /> </span>我的课程
				</div>
				<ul class="menuson">
				   
					<li>
						<cite></cite><a href="<%=path %>/courseTeaList.action"
							target="rightFrame">我的课程</a><i></i>
					</li>
					 
					 
				</ul>
			</dd>
			
				 
			
			
			</c:if>
			
			<c:if test="${sessionScope.userType==2}">
				 
			
			
			<dd>
				<div class="title">
					<span><img src="images/leftico03.png" /> </span>我的成绩
				</div>
				<ul class="menuson">
				   
					<li>
						<cite></cite><a href="<%=path %>/myChengjiList.action"
							target="rightFrame">我的成绩</a><i></i>
					</li>
					
							<li>
						<cite></cite><a href="<%=path %>/myChengjiPaiming.action"
							target="rightFrame">成绩排名</a><i></i>
					</li>
					 
					 
				</ul>
			</dd>
			
			
		 
			
			</c:if>
			
			 <dd>
				<div class="title">
					<span><img src="images/leftico03.png" /> </span>文件管理
				</div>
				<ul class="menuson">
					<li>
						<cite></cite><a href="<%=path %>/docList.action" target="rightFrame">文件列表</a><i></i>
					</li>
				</ul>
			</dd>
 
		</dl>

	</body>
</html>

